package com.qk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.dto.BusinessDto;
import com.qk.dto.BusinessPoolDto;
import com.qk.entity.Business;

/**
 * ClassName: BusinessService
 * Package: com.qk.service
 * Description:
 *
 * @Author zt
 * @Create 2025/8/2 20:17
 * @Version 1.0
 */
public interface BusinessService extends IService<Business> {
    /*
    商机列表查询
     */
    PageResult<Business> listBusinesses(BusinessDto businessDto);

    /*
    根据ID查询商机（查询回显）
     */
    Business getBusinessById(Integer id);

    /*
    商机添加或修改
     */
    void trackBusiness(Business business);

    /*
    转客户处理
     */
    void toCustomer(Integer id);

    /*
    公海池列表查询
     */
    PageResult<Business> listBusinessesPool(BusinessPoolDto businessPoolDto);
}
